<template>
	<view>
		<text v-for="(item, index) in users" :key="index">
			<block v-if="index != 0">
				{{index}}:{{item}}
			</block>
		</text>
	</view>
	
	<view>
		<block v-for="(item, index) in users" :key="index">
			<text v-if="index===0">{{index}}-{{item}}</text>
		</block>
		
	</view>
</template>

<script setup>
	import {ref} from 'vue'
	const users = ref(["梅西", "C罗", "吴磊"])
	const ifval = ref(true)
</script>

<style>
</style>